//
//  UIConfig.h
//  Echo
//
//  Created by Cospring on 14/12/16.
//  Copyright (c) 2014年 sina. All rights reserved.
//

#ifndef Echo_UIConfig_h
#define Echo_UIConfig_h

#pragma mark -- GLOBAL VIEW CONFIG

#define SCREEN_WIDTH                CGRectGetWidth([[UIScreen mainScreen] bounds])
#define SCREEN_HEIGHT               CGRectGetHeight([[UIScreen mainScreen] bounds])
#define STATUS_BAR_HEIGHT           20
#define NAV_BAR_HEIGHT              44
#define NAV_STATUS_HEIGHT           (STATUS_BAR_HEIGHT + NAV_BAR_HEIGHT)
#define CONTENT_HEIGHT              (SCREEN_HEIGHT - NAV_STATUS_HEIGHT)

#pragma mark -- TWEET_VIEW_UI_CONFIG

#define TWEET_BACKGROUND_COLOR      [UIColor whiteColor]
#define NAV_BACKGROUND_COLOR        [UIColor blackColor]
#define TWEET_LEFT_PADDING          16
#define TWEET_RIGHT_PADDING         16
#define TWEET_LEFT_MARGIN           8
#define TWEET_RIGHT_MARGIN          8
#define TWEET_TOP_PADDING           30
#define TWEET_BOTTOM_PADDING        30
#define TWEET_FRAME_WIDTH           (SCREEN_WIDTH - TWEET_LEFT_MARGIN - TWEET_RIGHT_MARGIN)
#define TWEET_VIEW_WIDTH            (TWEET_FRAME_WIDTH - TWEET_LEFT_PADDING - TWEET_RIGHT_PADDING)
#define TWEET_VIEW_HEIGHT           (SCREEN_HEIGHT - NAV_STATUS_HEIGHT)
#define TWEET_TEXT_FONT             [UIFont fontWithName:@"STHeitiSC-Medium" size:18];
#define TWEET_LABEL_BOTTOM_PADDING  20
#define TWEET_IMAGE_MARGIN          10
#define TWEET_IMAGE_BOTTOM_MARGIN   20


#define COMMENTVIEW_HEIGHT          43
#define COMMENTBOX_HEIGHT           25
#define COMMENTBOX_WIDTH            255


#endif














